package com.zkny.zknyerp.model;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 用户实体类
 */
@Data
@Table(name = "erp_user")
public class User implements Serializable {
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer id;     //主键
    private String username;    //登录户名
    private String password;    //密码
    private String name;    //姓名
    private String phone;   //电话

}
